<%@ page contentType="text/html;charset=UTF-8" %>
<%@include file="/WEB-INF/jsp/common/taglibs.jspf"%>
<es:contentHeader>
    <%@include file="/WEB-INF/jsp/common/import-calendar-css.jspf"%>
    <style>

        legend {
            cursor: pointer;
        }
        .fc-button-add {
            margin-right: 10px!important;
        }

        #loading {
            position: absolute;
            top: 5px;
            right: 5px;
        }

        .ui-dialog {
            overflow: visible!important;
        }
        .ui-dialog-content {
            overflow: visible!important;
        }

        #calendar {
            width: 750px;
            margin: 0 auto;
        }
    </style>
</es:contentHeader>

<div class="page-content">
    <div class="page-header">
        <h1>
            我的日历
            <small>
                <span class="badge badge-important" data-toggle="tooltip" data-placement="bottom"
                      title="最近三天，您有${calendarCount}个提醒提醒事项">${calendarCount}个</span>
            </small>
        </h1>
    </div>
    <div class="row">
        <div class="col-sm-12">
            <div id='calendar'></div>
        </div>
    </div>
</div>

<es:contentFooter>
<%@include file="/WEB-INF/jsp/common/import-calendar-js.jspf"%>
<script src="${ctx}/static/js/admin/index/welcome.js"></script>
<script>
    $(function() {
        $.app.welcome.init();
    })
</script>
</es:contentFooter>